package com.thread.t7;

/**
 * @author zhengzihong
 * @version 1.0.0
 * @date 2018/9/18
 * @Description
 */
public class CountThread extends Thread {

    public CountThread(){
        System.out.println("CountThread-----begin");
        System.out.println("Thread.currentThread().getName()="+Thread.currentThread().getName());
        System.out.println("this.getName()="+this.getName());
        System.out.println("CountOperate---end");
    }


    @Override
    public void run(){
        System.out.println("run---begin");
        System.out.println("Thread.currentThread().getName()="+Thread.currentThread().getName());
        System.out.println("this.getName()="+this.getName());
        System.out.println("run---end");
    }

}
